<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/base.css">
    <script src="./js/jquery.min.js"></script>
</head>
<style>
    body{
        background-color: black;
    }
    .box{
        width: 650px;
        height: 400px;
        margin: 100px auto;
        background-color: black;
        border: 1px solid #ccc;
    }
    ul{
        display: flex;
        justify-content:space-evenly;
        flex-wrap:wrap;
    }
    ul li{
        width: 200px;
        height: 186px;
        margin-top: 10px;
    }
    .curent{
        opacity: .5;
    }
</style>
<body>
    <div class="box">
        <ul class="ulli">
            <li><img src="./images/01.jpg" alt=""></li>
            <li><img src="./images/02.jpg" alt=""></li>
            <li><img src="./images/03.jpg" alt=""></li>
            <li><img src="./images/04.jpg" alt=""></li>
            <li><img src="./images/05.jpg" alt=""></li>
            <li><img src="./images/06.jpg" alt=""></li>
        </ul>
    </div>

    <script>
        // $('.ulli li').mouseenter(function(){
        //     $(this).css('opacity','1').siblings().css('opacity','.4');
        // });
        // $('.ulli li').mouseleave(function(){
        //     $('.ulli li').css('opacity','1');
        // })

        $('.ulli li').hover(function(){
            $(this).siblings().stop().fadeTo(400,0.4);
        },function(){
            $(this).siblings().stop().fadeTo(400,1);
        })
    </script>
</body>
</html>